import { createStore, combineReducers, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import authority from './authority'
import common from './common'

const store = createStore(
  combineReducers({
    authority, common,
  }),
  applyMiddleware(thunk),
)
export default store
